package com.zb.system.controller;

import com.zb.entity.SelectVo;
import com.zb.result.Result;
import com.zb.service.ZjLogisticsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author WEN
 * @Date 2024/1/11 0011
 **/
@Api(tags = "物流类接口")
@RestController
@RequestMapping("/system/logistics")
public class ZjLogisticsController {

    @Resource
    private ZjLogisticsService logisticsService;

    @ApiOperation("获取物流下拉列表")
    @PostMapping("/getLogisticsSelectList")
    public Result getLogisticsSelectList(@RequestBody SelectVo selectVo) {
        return Result.success("获取物流下拉列表成功").data(logisticsService.getLogisticsSelectList(selectVo));
    }
}
